home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Disc to the Future 2
/
Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin
/
MAC
/
THINKC
/
5
/
DINKDEMO
/
DC_SCRIB
/
DSCRIBBL.H1
< prev
next >
Wrap
Text File
|
1992-07-08
|
749b
|
39 lines
/*
File: DScribbleWind.h
Written by: Mark Gross
Copyright: ⌐ 1992 by Applied Technical Software, all rights reserved.
Use at your own risk.
*/
// This is the class declaration of the DScribbleWindow
// sub-class to ScrollWindow for the Scribble application
#ifndef __DSCRIBBLEWIND__
#define __DSCRIBBLEWIND__
#ifndef penPat
typedef enum {patBlack, patGray, patWhite} penPat;
#endif
//class DScrollWindow;
#include "DScrollWindow.h"
class DScribbleWind : public DScrollWindow
{
public:
short fPenSize;
penPat fPenPat;
virtual Boolean Init(DDocument *doc, Boolean hasColorWindows);
virtual void Draw(Rect *r);
protected:
virtual void DoContent(EventRecord* theEvent);
};// end of class declaration
#endif __DSCRIBBLEWIND__